package com.sugar.psych.assessment.module.business.controller.admin.userleavemessage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 用户留言 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserLeaveMessageRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2179")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "8508")
    @ExcelIgnore
    private Long userId;

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "27058")
    @ExcelProperty("用户昵称")
    private String nickname;

    @Schema(description = "用户手机号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27058")
    @ExcelProperty("用户手机号")
    private String mobile;

    @Schema(description = "匿名名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("匿名名称")
    private String anonymityName;

    @Schema(description = "匿名头像", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("匿名头像")
    private String anonymityAvatar;

    @Schema(description = "留言内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("留言内容")
    private String content;

    @Schema(description = "被赞总次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "16392")
    @ExcelProperty("被赞总次数")
    private Integer likedCount;

    @Schema(description = "有效时间")
    @ExcelProperty("有效时间")
    private LocalDateTime validTime;

    @Schema(description = "状态（0正常 1禁用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态（0正常 1禁用）")
    private Boolean status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}